home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / misc / PowerInstaller.lha / PowerInstaller / DemoScripts / VarHandling.script < prev   
Encoding:
Text File  |  1998-09-16  |  618 b   |  36 lines

  1. ;
  2. ; PowerInstaller Script
  3. ;
  4. ; Name:   Variable Handling Demo
  5. ;
  6. ; Author: Fabio Rotondo
  7. ;
  8. ; Descr:  Some of the Variable Handling features
  9. ;         in PowerInstaller
  10. ;
  11. ;         Note the Set command!!
  12.  
  13. Define Global First "Fabio"
  14. Define Global Last  "Rotondo"
  15.  
  16. ; Please, note how the FullName is set to "Fabio Rotondo"...
  17.  
  18. Define Global FullName "$First $Last"
  19.  
  20.  
  21. ; Here we open a GUI
  22.  
  23. BeginGUI main
  24.  
  25. Message "The full name is $FullName"
  26. Message "The first name is $First"
  27. Message "The last name is $Last"
  28.  
  29. ; Note: we are going to change First contents
  30.  
  31. Set First "Changed"
  32.  
  33. Message "Now First value is $First"
  34.  
  35. EndGUI
  36.